/* General Reset & Variables */
/* Import New Font: Playfair Display */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Roboto:wght@300;400;500&display=swap");

:root {
    /* Brand Colors extracted from Logo */
    --brand-green: #3a4d39;
    /* Deep Forest Green */
    --brand-gold: #e6b12c;
    /* Sunset Gold */
    --brand-cream: #faf9f6;
    /* Warm Off-White (Pearl) */
    --brand-dark: #2a302a;
    /* Very dark green (almost black) for text */

    --bs-font-sans-serif: "Roboto", sans-serif;
    --bs-font-serif: "Playfair Display", serif;
    /* New Heading Font */
}

.bg-cream {
    background-color: var(--brand-cream) !important;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
    /* clip prevents horizontal scroll WITHOUT creating a new scroll container,
       so position:sticky on child elements continues to work correctly.
       (overflow-x:hidden would break sticky by establishing a new scrolling context) */
    position: relative;
}

body {
    background-color: var(--brand-cream);
    /* Changed from Black */
    color: var(--brand-dark);
}

/* Target the desktop menu specifically */
.d-nav1230-block .nav-link {
    white-space: nowrap; /* Prevents the 2-line break */
    font-size: 0.95rem; /* Slightly smaller font helps fit everything */
    padding-left: 5px;
    padding-right: 5px;
}

/* Ensure the container can expand to fit the text */
.d-nav1230-block {
    width: auto;
    max-width: 70%; /* Allows it to take more space if needed */
}

/* Update All Headings to New Font */
h1,
h2,
h3,
h4,
.display-1,
.display-4,
.display-5 {
    font-family: var(--bs-font-serif) !important;
    /* Overrides Englebert */
    font-weight: 400;
}

/* Typography */
.tracking-wide {
    letter-spacing: 1.5px;
}

/* ----------------------------------------------------
   RESPONSIVE NAV & OFFCANVAS
   ---------------------------------------------------- */
/* ----------------------------------------------------
   FLOATING NAVBAR STYLES
   ---------------------------------------------------- */

/* The wrapper positions the nav fixed on screen */
/* --- Variables (Ensure these exist) --- */

/* =========================================
   NAVBAR 1: HERO STYLES (Split Layout)
   ========================================= */
#hero-navbar {
    z-index: 1040;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

/* Hide hero nav when scrolling down */
#hero-navbar.nav-hidden {
    transform: translateY(-150%);
    opacity: 0;
}

/* Use CSS Grid to create the 3-column split layout */
/* =========================================
   HERO NAVBAR FIXES
   ========================================= */

/* 1. Fix Mobile Alignment (Prevents Logo going to right) */
#hero-navbar .container-fluid {
    display: flex;
    justify-content: space-between !important;
    /* Forces Logo Left, Menu Right */
    align-items: flex-start;
    /* Aligns items to top so shape hangs correctly */
}

/* 2. Left Logo Shape Styling */
.logo-wrapper-left {
    position: relative;
    z-index: 1041;
}

.logo-shape-bg {
    background-color: #faf9f6;
    /* Cream Brand Color */

    /* Shape Dimensions */
    width: 180px;
    height: 148px;

    /* Rounded Bottom Corners */
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;

    /* Shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    /* Centering the Image inside the Shape */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
    /* Slight lift for visual balance */
}

.hero-logo-img {
    height: 140px;
    /* Adjust logo size to fit shape */
    padding: 8px;
    width: auto;
    object-fit: contain;
}

/* 3. Mobile Adjustments */
@media (max-width: 991px) {
    /* Reset alignment for mobile to ensure standard flex behavior */
    #hero-navbar .container-fluid {
        justify-content: space-between !important;
        align-items: center;
        /* Center items vertically on mobile */
    }

    /* Make shape smaller on mobile */
    .logo-shape-bg {
        width: 120px;
        height: 112px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        padding-bottom: 5px;
    }

    .hero-logo-img {
        height: 100px;
    }

    /* Adjust right-side icons alignment on mobile */
    .nav-right {
        margin-top: 0 !important;
    }
}

/* ----------------------------------------------------
   NAVBAR HOVER EFFECTS (Lift & Underline)
   ---------------------------------------------------- */

/* Base Link Styling */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 5px;
    /* Space for the underline */
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

/* The Underline (Hidden by default) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    /* Starts at 0 width */
    height: 2px;
    background-color: #d4a017;
    /* Brand Gold Color */
    transition: width 0.3s ease;
}

/* Hover State */
.navbar-nav .nav-link:hover {
    transform: translateY(-3px);
    /* Moves text up slightly */
    color: #d4a017 !important;
    /* Changes text to Gold */
}

/* Hover Underline State */
.navbar-nav .nav-link:hover::after {
    width: 100%;
    /* Expands to full width */
}

/* ----------------------------------------------------
   NAVBAR HOVER EFFECTS (Lift & Underline)
   ---------------------------------------------------- */

/* Base Link Styling */
.navbar-nav .nav-link {
    position: relative;
    padding-bottom: 5px;
    /* Space for the underline */
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

/* The Underline (Hidden by default) */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    /* Starts at 0 width */
    height: 2px;
    background-color: #d4a017;
    /* Brand Gold Color */
    transition: width 0.3s ease;
}

/* Hover State */
.navbar-nav .nav-link:hover {
    transform: translateY(-3px);
    /* Moves text up slightly */
    color: #d4a017 !important;
    /* Changes text to Gold */
}

/* Hover Underline State */
.navbar-nav .nav-link:hover::after {
    width: 100%;
    /* Expands to full width */
}

/* Hover effect for Social Icons */
.hover-gold {
    transition: color 0.3s ease;
}

.hover-gold:hover {
    color: #d4a017 !important;
    /* Uses your brand gold color */
}

/* =========================================
   NAVBAR 2: SCROLL UP STYLES (Solid bar)
   ========================================= */
#scroll-navbar {
    z-index: 1039;
    /* Just below the hero nav z-index */
    /* Start hidden above the viewport */
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smooth ease-out */
}

/* Class added by JS to slide it down */
#scroll-navbar.nav-visible {
    transform: translateY(0);
}

/* 1. Custom Burger Icon Styling */
.burger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--brand-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hover effect for burger */
.navbar-toggler:hover .burger-icon span:nth-child(2) {
    transform: translateX(5px);
    /* Subtle slide */
}

.burger-icon-white {
    width: 30px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon-white span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hover effect for burger */
.navbar-toggler:hover .burger-icon-white span:nth-child(2) {
    transform: translateX(5px);
    /* Subtle slide */
}

/* 2. Offcanvas (Side Drawer) Styling */
.offcanvas {
    background-color: var(--brand-cream);
    /* Matches body bg */
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1050 !important;
    /* Bootstrap modal level */
    background-color: #faf9f6;
}

.offcanvas-backdrop {
    z-index: 1040 !important;
}

/* Optional: Make the floating nav disappear or lower z-index when menu is open */
.nav-wrapper {
    z-index: 1030;
}

.offcanvas-title {
    font-family: var(--bs-font-serif);
    font-size: 1.5rem;
    color: var(--brand-green);
}

/* 3. Navigation Links Styling */
.nav-link {
    font-family: var(--bs-font-sans-serif);
    font-weight: 500;
    color: #303030;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Hover state */
.nav-link:hover,
.nav-link.active {
    color: var(--brand-gold) !important;
    /* Gold on hover */
}

/* 4. Mobile/Tablet Specific Styles (< 992px) */
@media (max-width: 991.98px) {
    .offcanvas {
        width: 85vw !important;
        /* Slightly narrower than full screen */
        max-width: 400px;
    }

    .offcanvas-body {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    /* Make links look like a list in mobile view */
    .navbar-nav {
        padding: 2rem;
    }

    .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 10px;
    }

    /* Larger fonts for mobile menu for easy tapping */
    .nav-link {
        font-family: var(--bs-font-serif);
        /* Switch to serif for luxury feel */
        font-size: 1.5rem;
        /* Big text */
        padding: 15px 0;
        color: var(--brand-green);
    }

    .nav-link:hover {
        padding-left: 10px;
        /* Slide effect */
    }
}

/* ----------------------END NAV BAR */

/* =============================================
   CUSTOM 1230px NAVBAR BREAKPOINT UTILITIES
   Burger menu visible below 1230px,
   nav links & social icons visible at/above 1230px.
   ============================================= */

/* Hidden by default (mobile-first) */
.d-nav1230-block {
    display: none !important;
}
.d-nav1230-flex {
    display: none !important;
}

/* Shown by default (burger visible on small screens) */
.d-nav1230-none {
    display: block !important;
}

@media (min-width: 1230px) {
    /* Show nav links and social icons at 1230px+ */
    .d-nav1230-block {
        display: block !important;
    }
    .d-nav1230-flex {
        display: flex !important;
    }

    /* Hide burger menu at 1230px+ */
    .d-nav1230-none {
        display: none !important;
    }
}

/* -----------------------------------------Hero Section */
.hero-section {
    height: 100vh;
    max-width: 100vw;
    /* Hard limit */
    position: relative;
    z-index: 2;
}

/* =========================================
   TERNARY BUTTON STYLE
   ========================================= */

.btn-ternary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-ternary svg {
    transition: transform 0.3s ease;
}

.btn-ternary:hover {
    color: var(--brand-gold) !important;
    border-bottom-color: var(--brand-gold);
    gap: 18px;
    /* Slides the icon out slightly */
}

.btn-ternary:hover svg {
    transform: rotate(45deg);
    /* Optional: point the arrow upwards to indicate 'open' */
}

/* ----------------------------------------------
   FIXED TWIST BUTTON ANIMATION 
   ---------------------------------------------- */
/* Button Base */
.btn-wave {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* Space between text and icon */
    padding: 16px 32px;
    background-color: #ffffff;
    color: #000;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    overflow: hidden;
    /* Clips the sliding text */
    transition: all 0.3s ease;
}

/* Hover: Slight background dim */
.btn-wave:hover {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #fff;
    transform: translateY(-3px);
    transform: translateY(-4px);
}

/* Text Wrapper */
.text-wrapper {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    /* Ensures the duplicate letters stay hidden until needed */
}

/* Individual Letters (Created by JS) */
.btn-wave .letter {
    position: relative;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* The "Wave" Delay: using CSS var --i */
    transition-delay: calc(0.03s * var(--i));
}

/* The Duplicate Letter (Hidden Below) */
.btn-wave .letter::after {
    content: attr(data-letter);
    /* Copies the letter */
    position: absolute;
    top: 100%;
    left: 0;
    transform: translate3d(0, 0, 0);
}

/* Hover Action: Move Letters Up */
.btn-wave:hover .letter {
    transform: translateY(-100%);
}

/* -----------------------
   Icon Animation 
   ----------------------- */
.icon-wrapper {
    display: inline-flex;
    position: relative;
    /* overflow: hidden; */
}

.icon-wrapper svg {
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.3s;
    /* Waits for text wave to finish */
}

/* Icon slides out right and reappears from left */
.btn-wave:hover .icon-wrapper svg {
    transform: translateX(3px) scale(1.1);
    /* Subtle nudge */
}

/* ----------------------------------------------
   ---------------FIXED TWIST BUTTON ANIMATION BLACK
   ---------------------------------------------- */
/* Button Base */
.btn-wave-blk {
    width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    /* Space between text and icon */
    padding: 16px 32px;
    background-color: #212529;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    overflow: hidden;
    /* Clips the sliding text */
    transition: all 0.3s ease;
}

/* Hover: Slight background dim */
.btn-wave-blk:hover {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #fff;
    transform: translateY(-3px);
    transform: translateY(-4px);
}

/* Text Wrapper */
.text-wrapper-blk {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    /* Ensures the duplicate letters stay hidden until needed */
}

/* Individual Letters (Created by JS) */
.text-wrapper-blk .letter {
    position: relative;
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    /* The "Wave" Delay: using CSS var --i */
    transition-delay: calc(0.03s * var(--i));
}

/* The Duplicate Letter (Hidden Below) */
.text-wrapper-blk .letter::after {
    content: attr(data-letter);
    /* Copies the letter */
    position: absolute;
    top: 100%;
    left: 0;
    transform: translate3d(0, 0, 0);
}

/* Hover Action: Move Letters Up */
.text-wrapper-blk:hover .letter {
    transform: translateY(-100%);
}

/* -----------------------
   Icon Animation 
   ----------------------- */
.btn-wave-blk .icon-wrapper {
    display: inline-flex;
    position: relative;
    /* overflow: hidden; */
}

.btn-wave-blk .icon-wrapper svg {
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.3s;
    /* Waits for text wave to finish */
}

/* Icon slides out right and reappears from left */
.btn-wave-blk:hover .icon-wrapper svg {
    transform: translateX(3px) scale(1.1);
    /* Subtle nudge */
}

/* --------------------------------------------- END Hero Section */

/* Import Englebert Font */
@import url("https://fonts.googleapis.com/css2?family=Englebert&display=swap");

/* -----------------------
   WHAT WE DO SECTION 
   ----------------------- */

.what-we-do-section {
    position: relative;
    z-index: 10;
    /* Ensures it sits above any fixed backgrounds */
}

/* Typography */
.section-title {
    font-family: "Englebert", cursive;
    /* The requested font */
    color: var(--brand-green);
    line-height: 1.2;
}

/* Carousel Container Layout */
.carousel-container-custom {
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 40px;
    /* Space for shadow/bottom */
}

/* Rounding the images */
.rounded-custom {
    border-radius: 24px;
    /* Soft modern corners */
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

.carousel-item img {
    height: 70vh;
    /* Fixed height for consistency */
    object-fit: cover;
}

/* Custom Indicators */
.carousel-indicators.custom-indicators {
    bottom: 20px;
    /* Position inside the image base */
    margin-bottom: 1rem;
}

.carousel-indicators.custom-indicators button {
    width: 40px;
    /* Line length */
    height: 4px;
    /* Line thickness */
    border-radius: 4px;
    /* Rounded ends */
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    margin: 0 6px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators.custom-indicators button.active {
    background-color: #ffffff;
    opacity: 1;
    width: 50px;
    /* Slightly longer when active */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-container-custom {
        padding-left: 20px;
        padding-right: 20px;
    }

    .carousel-item img {
        height: 50vh;
    }
}

/* ----------------------------------------PROPERTY SECTION */
/* -----------------------
   SLIDER & CARDS SECTION 
   ----------------------- */

/* Hide Scrollbar but allow scrolling */
/* -----------------------
   SLIDER & CARDS SECTION 
   ----------------------- */

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 15px;
    /* Tighter gap for better fit */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-right: 20px;
    /* Add padding to end so last card isn't cut off */

    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* --- CARD IMAGE (GLOBAL 1:1 RATIO) --- */
.card-image {
    position: relative;
    width: 100%;
    /* FORCE SQUARE RATIO */
    aspect-ratio: 1 / 1;
    height: auto !important;
    /* Override any fixed height */
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 15px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures image fills the square without stretching */
    transition: transform 0.5s ease;
}

/* --- DESKTOP VIEW (4 Cards) --- */
.slider-item {
    /* 4 cards minus gaps */
    min-width: calc(25% - 12px);
    scroll-snap-align: start;
}

/* --- MOBILE VIEW (2 Cards Optimized) --- */
@media (max-width: 768px) {
    .slider-item {
        /* 2 cards minus gap */
        min-width: calc(50% - 8px);
    }

    /* Tighter rounded corners for small cards */
    .card-image {
        border-radius: 16px;
        margin-bottom: 10px;
    }

    /* Mobile Typography Fixes */
    .card-title {
        font-size: 0.8rem;
        /* Smaller title */
        line-height: 1.2;
    }

    .price {
        font-size: 0.9rem;
    }

    .specs {
        font-size: 0.7rem;
        /* Compact specs */
        white-space: nowrap;
        /* Prevent wrapping if possible */
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 8px;
    }

    .link-arrow {
        font-size: 0.8rem;
    }

    /* Adjust Badge size */
    .badge-status {
        font-size: 0.6rem;
        padding: 4px 10px;
        top: 10px;
        left: 10px;
    }
}

/* Card Styling */
.property-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 350px;
    /* Taller luxury look */
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-image img {
    transform: scale(1.05);
}

/* Typography & Details */
.card-title {
    font-family: "Englebert", cursive;
    font-size: 1.5rem;
    margin: 0;
}

.price {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.specs {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Simple Text Link */
.link-arrow {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.link-arrow:hover {
    border-bottom: 1px solid #000;
}

/* Status Badge */
.badge-status {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* -----------------------
   NAV BUTTONS (Top Right)
   ----------------------- */
.btn-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #000;
}

.btn-control:hover {
    background: #d4a017;
    color: #fff;
    border-color: #d4a017;
}

/* -----------------------
   PROPERTY SECTION
   ----------------------- */
.property-section {
    position: relative;
    /* Essential for z-index to work */
    z-index: 10;
    /* Forces this section to sit ON TOP of the video */
    background-color: #ffffff;
    /* Ensures no transparency leaks */
}

/* Property Section end */

/* -----------------------
   BENTO GRID (LIFESTYLE)
   ----------------------- */

.bento-card {
    border-radius: 24px;
    background-color: #f8f9fa;
    /* Light gray to stand out on white bg */
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Very subtle border */
}

/* Hover Effect */
.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* For cards with full background images */
.bg-image-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    transition: transform 0.5s ease;
}

.bento-card:hover .bg-image-full {
    transform: scale(1.05);
}

/* Overlay text on image cards */
.card-content-overlay {
    position: absolute;
    z-index: 2;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    width: 100%;
}

.card-content-overlay.bottom {
    bottom: 0;
    left: 0;
}

/* Icon styling */
.icon-box svg {
    stroke: #1a1a1a;
    opacity: 0.8;
}

/* -----------------------
   WHY US SECTION 
   ----------------------- */

.why-us-section {
    position: relative;
    /* Ensure solid white background as requested */
    background-color: #ffffff !important;
    z-index: 5;
}

.feature-box {
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

/* The "01, 02, 03" Number Styling */
.feature-number {
    font-family: "Englebert", cursive;
    font-size: 3rem;
    color: #3a4d39a1;
    /* Light gray for subtle elegance */
    line-height: 1;
    position: relative;
    display: inline-block;
}

/* A small decorative line under the number */
.feature-number::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.03);
    /* Very subtle highlight */
    z-index: -1;
}

/* Typography Tweaks for readability */
.leading-relaxed {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .feature-box {
        text-align: center;
    }
}

/* -----------------------
   LIFESTYLE GALLERY 
   ----------------------- */

/* Ensure the grid takes up height */

/* -----------------------
   LIFESTYLE GALLERY FIX
   ----------------------- */

.lifestyle-section {
    position: relative;
    /* This is the key fix */
    z-index: 10;
    /* Forces it to sit ON TOP of the video */
    background-color: #ffffff;
    /* Ensures solid white */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    /* Matches your 24px system */
    transition: transform 0.4s ease;
    cursor: pointer;
}

/* Force height on desktop to create the mosaic look */
@media (min-width: 768px) {
    .lifestyle-section .col-md-5 .gallery-item {
        min-height: 600px;
    }
}

/* Image Hover Zoom Effect */
.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Dark Gradient Overlay on Hover */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 0;
}

.overlay-text {
    color: white;
    font-family: "Englebert", cursive;
    font-size: 1.5rem;
    transform: translateY(0px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .overlay-text {
    transform: translateY(-30px);
}

/* -----------------------
   LIFESTYLE GALLERY FIX 
   ----------------------- */

/* 1. Mobile First Defaults (Fixes the squashed line) */
.gallery-img-tall {
    min-height: 400px;
    /* Force height on mobile */
    height: 100%;
}

.gallery-img-wide {
    min-height: 250px;
    /* Force height on mobile */
    height: 100%;
}

.gallery-img-small {
    min-height: 250px;
    /* Force height on mobile */
    height: 100%;
}

/* 2. Desktop Calculation (Fixes the misalignment) */
@media (min-width: 768px) {
    /* Large Left Image */
    .gallery-img-tall {
        min-height: 600px;
    }

    /* Right Side Math:
       Total Height = 600px
       Gap (g-4) = 1.5rem ≈ 24px
       Half Height = (600px - 24px) / 2 = 288px
    */

    .gallery-img-wide {
        height: 288px;
        /* Fixed calculated height */
        min-height: auto;
        /* Reset mobile override */
    }

    .gallery-img-small {
        height: 288px;
        /* Fixed calculated height */
        min-height: auto;
    }

    /* Ensure the containers stretch to fill the space */
    .gallery-item {
        height: 100%;
    }
}

/* -----------------------
   CONTACT SECTION 
   ----------------------- */

.contact-section {
    z-index: 10;
    /* Ensures it sits on top of the video */
}

/* Background Highlight for Form Area */
.bg-light-subtle {
    background-color: #f8f9fa;
    /* Very soft gray to differentiate from white body */
}

/* Custom Pill Inputs */
.form-control-pill {
    background-color: #ffffff;
    border: 1px solid transparent;
    /* No visible border initially */
    border-radius: 50px;
    /* Full pill shape */
    padding: 16px 24px;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    /* Soft float effect */
    transition: all 0.3s ease;
}

/* Input Focus State */
.form-control-pill:focus {
    background-color: #ffffff;
    border-color: #000;
    /* Black border on focus */
    box-shadow: none;
    outline: none;
}

/* Icon Circles for Phone/Email */
.icon-circle {
    width: 48px;
    height: 48px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: transform 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1);
    background-color: #e0e0e0;
}

/* -----------------------
   FOOTER STYLING 
   ----------------------- */

.footer-section {
    z-index: 10;
    position: relative;
    border-top: 1px solid #eaeaea;
    /* Subtle separator from contact section */
}

/* Link Styling */
.footer-link {
    text-decoration: none;
    color: #6c757d;
    /* Bootstrap muted gray */
    font-size: 0.95rem;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-link:hover {
    color: #000;
    padding-left: 5px;
    /* Subtle slide effect */
}

/* Social Icon Hover */
.social-link {
    color: #000;
    transition:
        transform 0.2s ease,
        color 0.2s ease;
    opacity: 0.7;
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 1;
}

/* Form Pill Tweak for Input Group */
.input-group .form-control-pill {
    border: 1px solid #e0e0e0;
    box-shadow: none;
}

.input-group .form-control-pill:focus {
    border-color: #000;
}

/* ====================================================
   THE NEERAMAYA VILLA SHOWCASE STYLES (Single Property)
   ==================================================== */

.villa-showcase-section {
    z-index: 10;
    overflow: hidden;
    /* Crucial to keep the background SVG inside */
}

/* --- SVG Background Pattern --- */
.bg-svg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.04;
    /* Very subtle so it doesn't distract */
    pointer-events: none;
    z-index: 0;
    /* A long, elegant topographic wave pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='p' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 100 Q 25 50 50 100 T 100 100 M 0 50 Q 25 0 50 50 T 100 50' stroke='%233A4D39' stroke-width='1' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23p)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* Feature Numbering */
.feature-number {
    font-family: var(--bs-font-serif);
    font-size: 8rem;
    color: rgba(212, 160, 23, 0.15);
    /* Faded Brand Gold */
    position: absolute;
    top: -20px;
    left: -30px;
    line-height: 1;
    z-index: -1;
}

.text-md-end .feature-number {
    left: auto;
    right: -30px;
}

/* ----------------------------------------------------
   PARALLAX SCROLLING LOGIC
   ---------------------------------------------------- */
.parallax-container {
    perspective: 1px;
}

.parallax-bg {
    position: absolute;
    /* Set dimensions larger than the container so it has room to slide */
    top: -15%;
    left: -10%;
    width: 120%;
    height: 130%;
    background-size: cover;
    background-position: center;

    will-change: transform;
    /* The transform will be entirely handled by JS now */
}

/* Mobile Adjustments for Showcase */
@media (max-width: 991px) {
    .feature-number {
        font-size: 5rem;
        top: -10px;
        left: 0;
    }

    .text-md-end .feature-number {
        right: 0;
    }

    .villa-showcase-section .lead {
        font-size: 1.1rem;
    }

    .villa-showcase-section .col-md-6.position-relative {
        height: 300px !important;
        /* Slightly taller for better mobile view */
    }
}

/* =========================================
   GALLERY CAROUSEL SECTION
   ========================================= */

.gallery-carousel-section {
    z-index: 5;
}

.gallery-slider-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
    /* Space for hover shadow */
}

.gallery-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-right: 20px;
    /* Padding for the last item */

    /* Scroll Snap Logic */
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* Hide scrollbar IE and Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery-slider-track::-webkit-scrollbar {
    display: none;
}

/* Desktop View: Show 3 items */
.gallery-slider-item {
    min-width: calc(33.333% - 14px);
    height: 450px;
    scroll-snap-align: start;
    transition: transform 0.4s ease;
    cursor: grab;
}

.gallery-slider-item:hover {
    transform: translateY(-5px);
}

.gallery-slider-item img {
    transition: transform 0.5s ease;
}

.gallery-slider-item:hover img {
    transform: scale(1.02);
    /* Very subtle internal zoom */
}

/* Carousel Control Buttons */
.btn-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--brand-dark);
}

.btn-control:hover {
    background: #d4a017;
    /* Brand Gold */
    color: #fff;
    border-color: #d4a017;
}

/* Mobile View: Show 1 main item and a peek of the next */
@media (max-width: 768px) {
    .gallery-slider-item {
        min-width: calc(85% - 10px);
        height: 350px;
    }
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* Page Hero (Shorter than index hero) */
.page-hero {
    height: 65vh;
    min-height: 400px;
    margin-top: 0;
    overflow: hidden;
}

.max-width-600 {
    max-width: 600px;
}

/* Typography Helpers */
.text-brand-green {
    color: var(--brand-green) !important;
}

.bg-brand-green {
    background-color: var(--brand-green) !important;
}

.bg-cream {
    background-color: var(--brand-cream) !important;
}

/* Icon Circles for features */
.icon-circle-lg {
    width: 80px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(122, 122, 122, 0.05);
    transition: transform 0.4s ease;
}

/* Hover animations for cards */
.transition-hover {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.transition-hover:hover {
    transform: translateY(-10px);
    background-color: #ffffff !important;
    border: 1px solid rgba(58, 77, 57, 0.1);
    /* Subtle brand green border */
}

.transition-hover:hover .icon-circle-lg {
    transform: scale(1.1);
    background-color: var(--brand-gold);
}

.transition-hover:hover .icon-circle-lg i {
    color: var(--brand-dark) !important;
}

/* Ensure SVG pattern works in the vision callout */
.vision-callout .bg-svg-pattern {
    opacity: 0.05;
}

/* =========================================
   CTA SECTION STYLES
   ========================================= */

.cta-section {
    background-color: var(--brand-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle separation line */
}

/* Typography matching the reference */
.cta-heading {
    font-family: var(--bs-font-sans-serif);
    font-weight: 300;
    font-size: 3.5rem;
    color: var(--brand-dark);
    line-height: 1.1;
}

.cta-italic-part {
    font-family: var(--bs-font-serif);
    font-style: italic;
    font-size: 4.5rem;
    /* Noticeably larger than the sans-serif part */
    color: var(--brand-dark);
    letter-spacing: -1px;
}

.cta-line {
    width: 50px;
    height: 1px;
    background-color: var(--brand-gold);
    /* Gold line accent */
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
}

/* Button Customizations */
.btn-cta-primary {
    background-color: var(--brand-dark);
    color: #ffffff;
    border: 1px solid var(--brand-dark);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background-color: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 160, 23, 0.2);
}

.btn-cta-secondary {
    background-color: transparent;
    color: var(--brand-dark);
    border: 1px solid rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--brand-dark);
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .cta-heading {
        font-size: 2.5rem;
    }

    .cta-italic-part {
        font-size: 3rem;
    }

    .cta-line {
        width: 30px;
        margin-right: 15px;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        /* Full width buttons on mobile */
        justify-content: space-between;
    }
}

/* =========================================
   ANIMATED RIVER WAVE SVG
   ========================================= */

.river-wave-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    /* Double width to allow seamless infinite scrolling */
    height: 100%;
    min-height: 400px;
    transform: translate3d(0, 0, 0);
    /* Hardware acceleration */
}

.wave {
    transform-origin: center bottom;
}

/* Different animation speeds for depth effect */
.wave-1 {
    animation: wave-flow 12s linear infinite;
}

.wave-2 {
    animation: wave-flow 18s linear infinite;
}

.wave-3 {
    animation: wave-flow 25s linear infinite;
}

/* Seamless Looping Animation */
@keyframes wave-flow {
    0% {
        transform: translateX(0) translateZ(0);
    }

    100% {
        /* Shifts the SVG exactly halfway, lining up identically with the start point */
        transform: translateX(-50%) translateZ(0);
    }
}

/* =========================================
   PROPERTY SHOWCASE PAGE STYLES
   ========================================= */

/* Divide line utilities for the specs bar */
@media (min-width: 992px) {
    .divide-lg-x > div:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Ensure the dark green background forces white text clearly */
.bg-brand-green {
    background-color: var(--brand-green) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* =========================================
   PROPERTIES / VILLA PAGE STYLES
   ========================================= */

/* Border utility for the top quick specs */
@media (min-width: 768px) {
    .border-end-md {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* Small Icon Circle for features */
.icon-circle-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Investment Card Styling */
.investment-card {
    /* Uses the brand green as a thick outer border effect */
    background-color: var(--brand-green);
    padding: 6px;
    /* Adjust this to change the "border" thickness */
}

/* The inner white box of the investment card */
.investment-card .bg-white {
    background-color: #ffffff;
}

/* Button override for the green background */
.bg-brand-green {
    background-color: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
}

.bg-brand-green:hover {
    background-color: var(--brand-dark) !important;
    border-color: var(--brand-dark) !important;
}

/* --- PROPERTY DETAIL REFINEMENTS --- */

.tracking-widest {
    letter-spacing: 3px;
}

.table-hover tbody tr:hover {
    background-color: rgba(212, 160, 23, 0.05);
    /* Very light gold hover */
}

.table thead th {
    border: none;
    letter-spacing: 1px;
}

.bg-brand-green {
    background-color: var(--brand-green) !important;
}

/* Optional: Subtle border for image containers */
.shadow-sm {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

/* =========================================
   MOBILE TABLE STACKING (Luxury Spec Table)
   ========================================= */

@media (max-width: 767.98px) {
    /* Force table elements to block layout on mobile */
    .luxury-spec-table,
    .luxury-spec-table tbody,
    .luxury-spec-table tr,
    .luxury-spec-table td {
        display: block;
        width: 100%;
    }

    /* Adjust row padding for breathing room */
    .luxury-spec-table tr {
        padding: 12px 0;
    }

    /* Override Bootstrap's default padding for a tighter fit */
    .luxury-spec-table td {
        padding: 4px 16px !important;
    }

    /* First cell (Icon + Label): Remove bottom padding so description sits tight below */
    .luxury-spec-table td:first-child {
        padding-bottom: 4px !important;
    }

    /* Second cell (Description): Add left padding to perfectly align with the label text above it */
    .luxury-spec-table td:last-child {
        padding-top: 0 !important;
        padding-left: 70px !important;
        /* Indents text past the 40px icon + gap */
        font-size: 0.95rem;
        /* Slightly smaller for mobile readability */
    }

    /* Center the highlight on the green Buy-Back row */
    .luxury-spec-table tr.bg-light-green td:last-child {
        font-size: 1.15rem !important;
    }
}

/* =========================================
   EDITORIAL / SUSTAINABILITY PAGE STYLES
   ========================================= */

/* Editorial Text & Drop Cap */
.editorial-text {
    font-size: 1.25rem;
    line-height: 1.8;
}

.drop-cap {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-top: 4px;
    padding-right: 12px;
    padding-bottom: 0px;
}

/* Pull Quote Styling */
.pull-quote {
    position: relative;
}

.pull-quote::before {
    content: "\201C";
    /* Large Quote Mark */
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: rgba(212, 160, 23, 0.15);
    /* Faded Gold */
    font-family: var(--bs-font-serif);
    line-height: 1;
    z-index: 0;
}

.pull-quote blockquote {
    position: relative;
    z-index: 1;
}

/* Small Icon Circle for lists */
.icon-circle-sm {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover effect for dark green sections */
.transition-hover-dark {
    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.transition-hover-dark:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.05);
}

/* =========================================
   LIFESTYLE BENTO GRID STYLES
   ========================================= */

/* Image Zoom on Hover for parent container */
.group-hover-zoom .transition-transform {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group-hover-zoom:hover .transition-transform {
    transform: scale(1.05);
}

/* Darken overlay slightly on hover to make text pop */
.group-hover-zoom .transition-opacity {
    transition: opacity 0.4s ease;
}

.group-hover-zoom:hover .transition-opacity {
    opacity: 0.65 !important;
}

/* Specific button style for the dark green CTA area */
.btn-light:hover {
    background-color: var(--brand-gold);
    color: #fff !important;
    border-color: var(--brand-gold);
    transform: translateY(-3px);
}

/* =========================================
   NEW MINIMAL FORM UI (LUXURY STYLE)
   ========================================= */

.minimal-input {
    border: none !important;
    border-bottom: 1px solid #d1d1d1 !important;
    border-radius: 0 !important;
    padding: 12px 0 !important;
    background-color: transparent !important;
    font-size: 1rem;
    color: var(--brand-dark);
    box-shadow: none !important;
    transition: border-color 0.3s ease;
}

/* Remove standard focus glow and change bottom border color */
.minimal-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 2px solid var(--brand-gold) !important;
}

/* Specific styling for placeholders to ensure they look elegant */
.minimal-input::placeholder {
    color: #999;
    font-weight: 300;
}

/* Tweak select dropdown arrow padding */
select.minimal-input {
    padding-right: 30px !important;
}

/* =========================================
   CUSTOM LUXURY DROPDOWN
   ========================================= */

.custom-dropdown-wrapper {
    user-select: none;
}

/* The Trigger Box */
.custom-select-trigger {
    cursor: pointer;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

/* Rotate arrow when open */
.custom-select-trigger .dropdown-arrow {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.custom-select-trigger.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Change border color when open */
.custom-select-trigger.open {
    border-bottom-color: var(--brand-gold) !important;
}

/* The Dropdown Menu */
.custom-options-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0 0 16px 16px;
    /* Smooth bottom corners */
    padding: 8px 0;
    margin: 0;
    list-style: none;
    z-index: 99;

    /* Animation defaults (Hidden) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dropdown Menu (Open State) */
.custom-options-list.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Individual Options */
.custom-option {
    padding: 12px 24px;
    font-size: 0.95rem;
    color: var(--brand-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.custom-option:hover {
    background-color: #f8f9fa;
    /* Very light gray */
    color: var(--brand-gold);
    padding-left: 28px;
    /* Subtle slide effect on hover */
}

.custom-option.selected {
    font-weight: 600;
    color: var(--brand-gold);
    background-color: rgba(212, 160, 23, 0.05);
}

/* =========================================
   ANIMATED SVG LINES BACKGROUND
   ========================================= */

.bg-lines-graphic {
    opacity: 0.15;
    /* Subtle opacity so it doesn't distract from text */
}

.line-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    /* Double width to allow for seamless looping */
    height: 100%;
    transform: translate3d(0, 0, 0);
    /* Hardware acceleration */
}

/* Different speeds for depth effect */
.svg-fast {
    animation: wave-line-flow 15s linear infinite;
}

.svg-mid {
    animation: wave-line-flow 25s linear infinite;
}

.svg-slow {
    animation: wave-line-flow 35s linear infinite;
}

/* Seamless Looping Keyframes */
@keyframes wave-line-flow {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translates precisely half the width, linking perfectly back to the start */
        transform: translateX(-50%);
    }
}

/* =========================================
   FOOTER ANIMATIONS & STYLES
   ========================================= */

/* Ensure footer links highlight correctly */
.footer-link:hover {
    color: var(--brand-gold) !important;
}

/* Social link hover effects */
.social-link:hover {
    color: var(--brand-green) !important;
    transform: translateY(-2px);
}

/* Houseboat Animation */
.animated-houseboat-bg {
    opacity: 0.8;
    /* Keeps it subtle */
}

.boat-group {
    /* The animation takes 45 seconds to cross the screen to emphasize the 'Slow Travel' concept */
    animation:
        boat-cruise 45s linear infinite,
        boat-bob 4s ease-in-out infinite alternate;
}

/* Horizontal Movement */
@keyframes boat-cruise {
    0% {
        transform: translateX(0);
        /* Starts slightly off-screen left (built into the SVG path coordinates) */
    }

    100% {
        transform: translateX(1400px);
        /* Glides completely past the right edge */
    }
}

/* Vertical Bobbing */
@keyframes boat-bob {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(4px);
    }
}

/* Animated Water Line */
.water-line {
    animation: water-ripple 6s ease-in-out infinite alternate;
}

@keyframes water-ripple {
    0% {
        transform: translateX(-20px);
    }

    100% {
        transform: translateX(20px);
    }
}

/* =========================================
   PROPERTY FEATURES OFFCANVAS
   ========================================= */

/* Make the features drawer slightly wider than standard on desktop */
@media (min-width: 768px) {
    .custom-drawer-width {
        width: 450px !important;
    }
}

/* Ensure the overlay doesn't block clicks underneath when it shouldn't */
.pointer-events-none {
    pointer-events: none;
}

/* =========================================
   ROOM SHOWCASE OVERLAYS
   ========================================= */

.gallery-slider-item.room-trigger {
    position: relative;
    cursor: pointer;
}

.room-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    pointer-events: none;
    /* Let clicks pass through to the image/card */
    z-index: 2;
}

/* Optional: Slight zoom on the room image when hovering */
.gallery-slider-item.room-trigger img {
    transition: transform 0.5s ease;
}

.gallery-slider-item.room-trigger:hover img {
    transform: scale(1.03);
}

/* =========================================
   MODAL RESPONSIVE CAROUSEL
   ========================================= */

.modal-carousel-height {
    height: 250px;
    /* Better ratio for mobile screens */
}

@media (min-width: 768px) {
    .modal-carousel-height {
        height: 400px;
        /* Returns to original height on desktop */
    }
}

/* =========================================
   CUSTOM LUXURY SCROLLBAR (Modal)
   ========================================= */

/* 1. Set the width of the scrollbar */
#roomDetailModal .modal-body::-webkit-scrollbar {
    width: 6px;
    /* Very thin and elegant */
}

/* 2. Style the track (the background the slider moves on) */
#roomDetailModal .modal-body::-webkit-scrollbar-track {
    background: var(--brand-cream);
    border-radius: 10px;
}

/* 3. Style the thumb (the actual moving slider) */
#roomDetailModal .modal-body::-webkit-scrollbar-thumb {
    background-color: #3a4d39af;
    border-radius: 10px;
    opacity: 0.8;
}

/* 4. Change color when the user hovers or drags it */
#roomDetailModal .modal-body::-webkit-scrollbar-thumb:hover {
    background-color: #3a4d39;
}

/* =========================================
   Additional Styles
   ========================================= */

/*--- Index ---*/

.v_tour_img {
    height: 90% !important;
}

/*--- Index ---*/

/*--- About ---*/

/* Target the first paragraph to match the 'lead' and 'text-muted' styles */
.about-content p:first-of-type {
    font-size: 1.25rem !important; /* Matches .lead */
    font-weight: 300 !important; /* Matches .lead */
    color: var(--bs-secondary-color) !important; /* Matches .text-muted */
    margin-bottom: 1.5rem !important; /* Matches .mb-4 */
    line-height: 1.6;
}

/* Target the second paragraph specifically */
.about-content p:nth-of-type(2) {
    color: var(
        --bs-secondary-color
    ) !important; /* Standard Bootstrap .text-muted */
    margin-bottom: 3rem !important; /* Matches the .mb-5 style in your image */
    font-size: 1rem; /* Standard body size */
    line-height: 1.6;
    opacity: 0.9; /* Matches the desc-text feel */
}

/*--- About ---*/

/* Section styling */
.about-section {
    background-color: var(--brand-cream);
}

/* The 'window' for the image */
.abt-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem; /* Matches rounded-4 */
    height: 319px; /* Increased height as requested */
    width: 100%;
    z-index: 1;
}

/* The actual moving image */
.abt-img-container .parallax-bg {
    position: absolute;
    /* top -10% and height 120% provides the 'bleed' needed for parallax */
    top: -10%;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center;
    will-change: transform; /* Optimizes browser performance for scrolling */
}

@media (min-width: 992px) {
    .offset-lg-1 {
        margin-left: 3.333%;
    }
}

.img-fluid.ecosystem-img {
    max-width: 100%;
    height: 467px;
}

.abt-wv-cnt1-img {
    width: 100%;
    height: 355px;
    object-fit: cover;
}

.abt-cnt1-img {
    width: 100%;
    height: 224px;
    object-fit: cover;
}

.w_villa-loc-img {
    width: 100%;
    height: 605px;
    object-fit: cover;
}

.w-villas-1 {
    height: 500px;
}

.w-villas-2 {
    height: 540px;
}

.w_villas_img {
    flex: 0 0 auto;
    width: 34%;
}

.aqua-1 {
    height: 650px;
}

.invest-img {
    height: 550px;
}

.bonus_cust_img {
    flex: 0 0 auto;
    width: 25.667%;
}

.cnct-img {
    min-height: 400px;
}

/***********************FIXED_BTN***********************/
.fixedRit {
    position: fixed;
    bottom: 57px; /* Kept your final position */
    right: 25px;
    z-index: 100; /* Increased to ensure it stays on top */
    background: transparent;
    opacity: 1;
    visibility: visible;
}

.fixedRit ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Adds a small consistent gap between icons */
}

.fixedRit ul li {
    list-style: none;
}

.fixedRit ul a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    /* REDUCED SIZE HERE */
    height: 32px;
    width: 32px;
    padding: 2px; /* Small padding so the icon doesn't touch the edges */
}

/* Ensure the images actually shrink to fit the new small size */
.fixedRit ul a img {
    width: 50px; /* Increase from current size */
    height: 50px; /* Keep proportional */
    object-fit: contain; /* cite: 5 */
}

.fixedRit ul a.call,
.fixedRit ul a.mail,
.fixedRit ul a.whatsapp {
    background: transparent !important;
}

/* Optional: If you want the icons to pop slightly on hover */
.fixedRit ul a:hover {
    transform: scale(1.1);
}

/*****/

/* =========================================
   CUSTOM NAVBAR DROPDOWN
   ========================================= */
.custom-dropdown {
    position: relative;
}

.custom-dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--brand-cream);
    border: 1px solid rgba(58, 77, 57, 0.15);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition:
        transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1050;
    margin: 0;
    list-style: none;
}

.custom-dropdown:hover .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.custom-dropdown-menu .custom-dropdown-item {
    font-family: var(--bs-font-serif);
    font-weight: 500;
    color: var(--brand-green);
    padding: 8px 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: transparent;
    display: block;
    width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.custom-dropdown-menu .custom-dropdown-item:hover {
    color: var(--brand-gold) !important;
    background-color: rgba(58, 77, 57, 0.05);
    padding-left: 25px;
}

/* Chevron Icon Styling */
.custom-dropdown .fa-chevron-down {
    transition: transform 0.3s ease;
    display: inline-block;
}

.custom-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* =========================================
   VERTICAL NAV ALIGNMENT WITH LOGO SHAPE
   ========================================= */
@media (min-width: 1230px) {
    #hero-navbar .d-nav1230-block {
        top: 74px;
        transform: translate(-50%, -50%) !important;
        margin-top: 0 !important;
    }

    #hero-navbar .container-fluid > .d-flex {
        height: 148px;
        align-items: center !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    #hero-navbar .d-nav1230-flex {
        margin-top: 0 !important;
    }
}

.image-box {
    height: 465px;
}
